#include "include/tester.h"
#include <stdio.h>

#include <stdlib.h>             /* Standard Lib     */
#include "include/sock_lib.h"   /* Functions        */

void testParser() {
    char* fileName = "l33t_server.conf";
    ConfigFile* configFile;

    configFile = loadFile(fileName);    

    //printf("%s:%s\n",configFile->currentParamter, configFile->currentValue);
    while (nextSet(configFile)) {
        printf("%s:%s\n",configFile->currentParamter, configFile->currentValue);
    }

    releaseConfig(&configFile);
}


/*int test_socklib(int argc, char *argv[])
{
  if(2 > argc) 
  { 
    DieWithError("Bad parameters, need: ./a.out port_number\n");   
  } else
  {
    start_puyand((unsigned short) atoi(argv[1])); 
  } 
  return 0;
}
*/
